package com.xkh.demo3.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xkh.demo3.entity.SystemLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SystemLogMapper extends BaseMapper<SystemLog> {


    @Select("SELECT * FROM system_log WHERE user_name = '1' and  create_time BETWEEN  '2022-03-15' and  '2022-03-16' ")
    List<SystemLog> list();


    void createTable(String tableName);
}
